<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
[#include "/admin/include/head.htm"]
    <script type="text/javascript" src="${base}/resource/js/jquery.drag.js"></script>
[#include "/admin/include/upload.ftl"]
    <style>
        .container {
            width: ${(deliveryTemplate.width)!1000}px;
            height: ${(deliveryTemplate.height)!500}px;
            position: relative;
            overflow: hidden;
            border: 1px solid #dde9f5;
            background: url(${(deliveryTemplate.background)!}) no-repeat;
            background-position: ${(deliveryTemplate.offsetX)!0}px ${(deliveryTemplate.offsetY)!0} px;
        }

        .container .item {
            line-height: 20px;
            float: left;
            position: absolute;
            top: 0px;
            left: 0px;
            color: #666666;
            overflow: hidden;
            word-wrap: break-word;
            filter: alpha(opacity=80);
            -moz-opacity: 0.8;
            opacity: 0.8;
            border: 1px dotted #999999;
            background: #ffffff;
        }
    </style>
    <script type="text/javascript">
        $(function () {
            var mainform = $("#mainform");
            //表单底部按钮
            LG.setFormDefaultBtn(f_cancel, function () {
                f_save(mainform, "b2c_intergral_order");
            });

        });
    </script>
</head>
[#if !deliveryTemplate??]
    [#assign isAdd = true /]
[#else]
    [#assign isEdit = true /]
[/#if]
<body style="padding:10px;">
<div id="tabcontainer" style="margin:0; padding:0 0 20px 0">
    <form id="mainform" name="mainform" class="validate" action="save.jhtml" method="post" class="validate">
        <input type="hidden" name="id" value="${(order.id)!}"/>

        <table class="table">
            <tr>
                <th>订单号：</th>
                <td>
                    <input type="text" name="express" value="${(order.express)!''}"
                           class="formText"/>
                </td>
            </tr>
            <tr>
                <th>配送方式：</th>
                <td>
                [@u.select headerKey="" headerValue="请选择..." listKey="id" listValue="name"
                headerButtom="false" list=deliveryMethodList value="${(deliveryTemplate.deliveryMethod.id)!}"
                name="deliveryMethodId" class="{required: true}"/]
                </td>
            </tr>

        </table>
    </form>
</div>
</body>
</html>